package com.ai.module.suno.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.ai.module.suno.constant.SaveType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: heJinQin
 * @create: 2024-04-27 12:03
 * @description:
 **/
@Data
@TableName("suno_record")
public class UserSunoRecordEntity extends BaseEntity {

    @TableField(value = "suno_id")
    private String sunoId;

    @TableField(value = "video_url")
    private String videoUrl;

    @TableField(value = "audio_url")
    private String audioUrl;

    @TableField(value = "image_url")
    private String imageUrl;

    @TableField(value = "image_large_url")
    private String imageLargeUrl;

    @TableField(value = "is_video_pending")
    private Boolean isVideoPending;

    @TableField(value = "major_model_version")
    private String majorModelVersion;

    @TableField(value = "save_type")
    private SaveType saveType = SaveType.SUNO;

    @TableField(value = "expire_time")
    private LocalDateTime expireTime;


}
